import re
a = 'C|C++|Jave|C#|Python|Python|Javascript'

re = re.findall('Python', a)
re2 = a.index('Python')
print(re, re2)
